package org.person.test.domain;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.person.basic.domain.BaseDomain;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author stark
 * @since 2023-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Permission extends BaseDomain {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String url;
    private String descs;
    private String sn;
    /**
     * 父级权限的id
     */
    private Permission parent;
    private List<Permission> children;

}
